﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="RoleSendTo.ascx.cs" Inherits="VLUNewsUI.VLURolesAndUsers.RoleSendTo" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.UI.WebControls" Assembly="DotNetNuke" %>
<%@ Register TagPrefix="dnn" Assembly="DotNetNuke.Web" Namespace="DotNetNuke.Web.UI.WebControls" %>

<div>
    <div class="dnnFormItem">
        <dnn:label id="plFromRole" runat="server" controlname="plFromRole" />
        <asp:DropDownList ID="ddlFromRole" DataTextField="RoleName" DataValueField="RoleID" runat="server"/>
    </div>
    <div class="dnnFormItem">
        <dnn:label id="plToRole" runat="server" controlname="plToRole" />
        <asp:DropDownList ID="ddlToRole" DataTextField="RoleName" DataValueField="RoleID" runat="server"/>
    </div>
</div>

<ul id="actionsRow" runat="server" class="dnnActions dnnClear">
    <li><asp:LinkButton id="cmdAdd" runat="server" CssClass="dnnPrimaryAction" resourcekey="cmdAdd" /></li>
</ul>
<div>
    <asp:DataGrid id="dgdRoleToRole" AutoGenerateColumns="false" Width="100%" CellPadding="2" cssclass="dnnGrid dnnSecurityRolesGrid" Runat="server">
        <headerstyle cssclass="dnnGridHeader" verticalalign="Top" />
        <itemstyle cssclass="dnnGridItem" horizontalalign="Left" />
        <alternatingitemstyle cssclass="dnnGridAltItem" />
        <edititemstyle cssclass="dnnFormInput" />
        <selecteditemstyle cssclass="dnnFormError" />
        <footerstyle cssclass="dnnGridFooter" />
        <pagerstyle cssclass="dnnGridPager" />
        <columns>
            <dnn:imagecommandcolumn commandname="Delete" IconKey="ActionDelete" keyfield="RoleToRoleID" />
            <asp:boundcolumn DataField="FromRoleName" HeaderText="FromRoleName"/>
            <asp:boundcolumn DataField="ToRoleName" HeaderText="ToRoleName"/>
        </columns>
    </asp:DataGrid>
</div>
